Automattic\WooCommerce\Blocks\BlockTypes\Checkout A

Total Complexity 56
Dependencies 4
Dependents 1
Total lines 493
Lines of code 307
Logical lines of code 133
Comment lines 140
Methods 16
Properties 2

Methods 16

Method Rating Maintainability Complexity Lines of code
enqueue_data()
B
30 19 124
render()
A
43 10 50
hydrate_customer_payment_methods()
S
54 4 21
is_block_editor()
S
68 4 7
include_token_id_with_payment_methods()
S
62 4 10
get_checkout_block_types()
S
53 1 26
initialize()
S
64 2 10
get_block_type_editor_script()
S
66 2 8
get_block_type_script()
S
66 2 8
is_checkout_endpoint()
S
79 2 3
dequeue_woocommerce_core_scripts()
S
72 1 6
register_patterns()
S
64 1 10
get_block_type_style()
S
79 1 3
enqueue_assets()
S
73 1 5
get_enabled_payment_gateways()
S
67 1 9
register_block_type_assets()
S
68 1 7